package org.karelun.gef.model;

import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.swt.graphics.RGB;

public class StateChoiceModel extends Node {

    private static final long serialVersionUID = 3256728381147132977L;
    private static int i=0;
    private String chioce="Yes/No"; //$NON-NLS-1$
    public StateChoiceModel() {
        super();
        if(i>0)
        	chioce="Yes/No"+String.valueOf(i); //$NON-NLS-1$
        setText(chioce);
        i++;
        setSize(new Dimension(80, 40));
        
        String id=String.valueOf(System.currentTimeMillis());
        setId(id);
        
        setForeColor(new RGB(0,0,0));
        setBgColor(new RGB(192, 192, 192));
    }
}
